package com.ygqh.baby.service.weixin;

import java.util.List;
import java.util.Map;

import com.foxinmy.weixin4j.model.WeixinAccount;
import com.foxinmy.weixin4j.util.NameValue;
import com.ygqh.baby.ao.Message;
import com.ygqh.baby.ao.WxMessageType;
import com.ygqh.baby.service.weixin.model.WxTemplateMessage;

public interface WxTemplateMessageService {

	public WxTemplateMessage assemblyTemplateMessage(WxMessageType messageType, WeixinAccount weixinAccount, String openId, String url,
			Map<String, NameValue> contentMap);

	public WxTemplateMessage assemblyTemplateMessage(WxMessageType messageType, WeixinAccount weixinAccount, String head, String remark, String openId,
			String url, String... keyword);

	public Message sendTemplateMessage(WxTemplateMessage message);

	public void sendTemplateMessageBatch(List<WxTemplateMessage> messageList);

}
